
env = Environment()


#jsoncpp src path
jsoncpp_path = '../thirdparty/jsoncpp'


includes = ['-IE:/boost_1_49_0',
'-I../simple-rpc',
'-I'+jsoncpp_path+'/include',
'-D_WIN32_WINNT=0x0501', 
'-DWIN32',
'-D_WIN32',
'-DLOG4CXX_STATIC',
'/MTd',
'/EHa',
'/Gd', 
'/Od',

]

libpath = ['E:/boost_1_49_0/stage/lib']


sources = Glob('*.cpp')
sources.append('../services/test_service.cpp')
sources.append(jsoncpp_path+'src/lib_json/json_reader.cpp')

env.Program('simple-rpc', 
  source=sources, 
  LINKFLAGS=[],
  LIBS=[],
  LIBPATH=libpath,
  CCFLAGS=includes)